<div class="container_12 content-wrapper">
	<div class="grid_9">
    <h2>Chat with stylist <?php echo $stylist->firstname.' '.$stylist->lastname; ?></h2>
	<?php if(!isset($disabled)):?>
    <div class="chatbox" id="chatbox">
	
	</div>
	
	<div class="chatcontrol">
		<div class="chat-input"><label>Message: </label> <textarea id="s_msg" class="grid_4"></textarea><a href="#" class="dbtn send" id="s_send">Send</a><div class="clear">&nbsp;</div></div>
		<input type="hidden" id="booking_id" value="<?php echo $booking_id; ?>"/>
		<input type="hidden" id="stylist_id" value="<?php echo $stylist_id; ?>"/>
		<input type="hidden" id="my_id" value="<?php echo $this->session->userdata('userid'); ?>"/>
		<input type="hidden" id="stylist_name" value="<?php echo $stylist->firstname.' '.$stylist->lastname; ?>" />
	</div>
	<?php else: ?>
		<div class="msg notice"><span></span><h5>Notice</h5>Chat is not available this time please wait for the specified date and time</div>
	
	<?php endif;?>
    </div>
	 <div class="grid_3">
    	<?php echo $this->load->view('layouts/menu/_customer', TRUE);?>
    </div>
</div>